﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000123 RID: 291
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BFAKIGEHNJC : IMessage<BFAKIGEHNJC>, IMessage, IEquatable<BFAKIGEHNJC>, IDeepCloneable<BFAKIGEHNJC>, IBufferMessage
	{
		// Token: 0x170003FC RID: 1020
		// (get) Token: 0x06000D61 RID: 3425 RVA: 0x000285A8 File Offset: 0x000267A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BFAKIGEHNJC> Parser
		{
			get
			{
				return BFAKIGEHNJC._parser;
			}
		}

		// Token: 0x170003FD RID: 1021
		// (get) Token: 0x06000D62 RID: 3426 RVA: 0x000285AF File Offset: 0x000267AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BFAKIGEHNJCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170003FE RID: 1022
		// (get) Token: 0x06000D63 RID: 3427 RVA: 0x000285C1 File Offset: 0x000267C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BFAKIGEHNJC.Descriptor;
			}
		}

		// Token: 0x06000D64 RID: 3428 RVA: 0x000285C8 File Offset: 0x000267C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFAKIGEHNJC()
		{
		}

		// Token: 0x06000D65 RID: 3429 RVA: 0x000285D0 File Offset: 0x000267D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFAKIGEHNJC(BFAKIGEHNJC other) : this()
		{
			this.buffSelectId_ = other.buffSelectId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000D66 RID: 3430 RVA: 0x000285F5 File Offset: 0x000267F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFAKIGEHNJC Clone()
		{
			return new BFAKIGEHNJC(this);
		}

		// Token: 0x170003FF RID: 1023
		// (get) Token: 0x06000D67 RID: 3431 RVA: 0x000285FD File Offset: 0x000267FD
		// (set) Token: 0x06000D68 RID: 3432 RVA: 0x00028605 File Offset: 0x00026805
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffSelectId
		{
			get
			{
				return this.buffSelectId_;
			}
			set
			{
				this.buffSelectId_ = value;
			}
		}

		// Token: 0x06000D69 RID: 3433 RVA: 0x0002860E File Offset: 0x0002680E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BFAKIGEHNJC);
		}

		// Token: 0x06000D6A RID: 3434 RVA: 0x0002861C File Offset: 0x0002681C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BFAKIGEHNJC other)
		{
			return other != null && (other == this || (this.BuffSelectId == other.BuffSelectId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000D6B RID: 3435 RVA: 0x0002864C File Offset: 0x0002684C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BuffSelectId != 0U)
			{
				num ^= this.BuffSelectId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000D6C RID: 3436 RVA: 0x0002868B File Offset: 0x0002688B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000D6D RID: 3437 RVA: 0x00028693 File Offset: 0x00026893
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000D6E RID: 3438 RVA: 0x0002869C File Offset: 0x0002689C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BuffSelectId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.BuffSelectId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000D6F RID: 3439 RVA: 0x000286D0 File Offset: 0x000268D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BuffSelectId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffSelectId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000D70 RID: 3440 RVA: 0x0002870E File Offset: 0x0002690E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BFAKIGEHNJC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BuffSelectId != 0U)
			{
				this.BuffSelectId = other.BuffSelectId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000D71 RID: 3441 RVA: 0x0002873F File Offset: 0x0002693F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000D72 RID: 3442 RVA: 0x00028748 File Offset: 0x00026948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BuffSelectId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040005B9 RID: 1465
		private static readonly MessageParser<BFAKIGEHNJC> _parser = new MessageParser<BFAKIGEHNJC>(() => new BFAKIGEHNJC());

		// Token: 0x040005BA RID: 1466
		private UnknownFieldSet _unknownFields;

		// Token: 0x040005BB RID: 1467
		public const int BuffSelectIdFieldNumber = 11;

		// Token: 0x040005BC RID: 1468
		private uint buffSelectId_;
	}
}
